import random


class Person(object):
    @staticmethod
    def showPerson():
        lis = ['石头', '剪刀', '布']
        index = random.randint(0, 2)
        return lis[index]


class Computer(object):
    @classmethod
    def showComputer(cls):
        lis = ['石头', '剪刀', '布']
        index = random.randint(0, 2)
        return lis[index]


class Game(object):
    person = Person()
    computer = Computer()
    @classmethod
    def startGame(cls):
        per_score = 0  # 代表人的计分
        computer_score = 0  # 代表电脑计分
        count = 0  # 统计比赛次数


for _ in range(10):
    print(Person.showPerson())  # 概率 30%左右
    print(Computer.showComputer())
